package org.dtrd.modules.content.articles.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.dtrd.common.api.dto.BaseRequest;

/**
 * @author xiao
 * @date 2022/5/12 10:27 AM
 */
@Data
@ApiModel(value = "文章分类", description = "文章分类信息名称+图片")
public class EditArticleCategoryRequest extends BaseRequest {

    @ApiModelProperty( value = "分类ID")
    private Integer classId;

    @ApiModelProperty(value = "父分类ID" )
    private Integer parentId;

    @ApiModelProperty(value = "分类名称", required = true)
    private String categoryName;

    @ApiModelProperty(value = "分类图标", required = true)
    private String categoryIcon;

    @ApiModelProperty(value = "分类小图标")
    private String categorySmallIcon;

    @ApiModelProperty(value = "分类排序")
    private Integer categorySequence;

    @ApiModelProperty(value = "是否展示 1 展示 2 隐藏")
    private Integer categoryDisplay = 1;

}
